Skip to content

Revert "stats: add new BoolIndicator stat type (#5813)"#6280

Merged
mattklein123 merged 1 commit intomasterfrom
revert_bool_stats
Mar 13, 2019
Merged

Revert "stats: add new BoolIndicator stat type (#5813)"#6280
mattklein123 merged 1 commit intomasterfrom
revert_bool_stats

Conversation

@mattklein123
Copy link
Member

This reverts commit 67d1eb4.

See #6279

This reverts commit 67d1eb4.

Signed-off-by: Matt Klein <mklein@lyft.com>
@mattklein123
Copy link
Member Author

@taion809 @fredlas

@taion809
Copy link
Contributor

taion809 commented Mar 13, 2019

I think this is the right move, one thing to note for the future implementation is that we will need a set of BoolIndicator tests for the prometheus handler in /test/server/html/admin_test.cc and ensure both the metric is a gauge and the type is an int. The other stats sinks already expect a uint64_t for the gauge value.

Example:

# TYPE envoy_server_live gauge
envoy_server_live{} 0

@fredlas
Copy link
Contributor

fredlas commented Mar 13, 2019

SGTM if it's causing problems; it's not yet really needed for anything, and the initial motivation was just to more cleanly express how various stats should move across hot restart.

@mattklein123 mattklein123 merged commit 84e67aa into master Mar 13, 2019
@mattklein123 mattklein123 deleted the revert_bool_stats branch March 13, 2019 19:51
@ramaraochavali
Copy link
Contributor

@mattklein123 Thanks much for reverting this quickly

spenceral added a commit to spenceral/envoy that referenced this pull request Mar 20, 2019
* master: (59 commits)
  http fault: add response rate limit injection (envoyproxy#6267)
  xds: introduce initial_fetch_timeout option to limit initialization time (envoyproxy#6048)
  test: fix cpuset-threads tests (envoyproxy#6278)
  server: add an API for registering for notifications for server instance life… (envoyproxy#6254)
  remove remains of TestBase (envoyproxy#6286)
  dubbo_proxy: Implement the routing of Dubbo requests (envoyproxy#5973)
  Revert "stats: add new BoolIndicator stat type (envoyproxy#5813)" (envoyproxy#6280)
  runtime: codifying runtime guarded features (envoyproxy#6134)
  mysql_filter: fix integration test flakes (envoyproxy#6272)
  tls: update BoringSSL to debed9a4 (3683). (envoyproxy#6273)
  rewrite buffer implementation to eliminate evbuffer dependency (envoyproxy#5441)
  Remove the dependency from TimeSystem to libevent by using the Event::Scheduler abstraction as a delegate. (envoyproxy#6240)
  fuzz: fix use of literal in default initialization. (envoyproxy#6268)
  http: add HCM functionality required for rate limiting (envoyproxy#6242)
  Disable mysql_integration_test until it is deflaked. (envoyproxy#6250)
  test: use ipv6_only IPv6 addresses in custom cluster integration tests. (envoyproxy#6260)
  tracing: If parent span is propagated with empty string, it causes th… (envoyproxy#6263)
  upstream: fix oss-fuzz issue envoyproxy#11095. (envoyproxy#6220)
  Wire up panic mode subset to receive updates (envoyproxy#6221)
  docs: clarify xds docs with warming information (envoyproxy#6236)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants